"""
DateTime时间模块
"""
from datetime import datetime, timedelta

start = datetime(2004,5,6,2,4,15)

# 自定义时间差
print(start + timedelta(weeks = 3))
print(start + timedelta(days = 3))
print(start + timedelta(hours = 3))
print(start + timedelta(minutes = 3))
print(start + timedelta(seconds = 3))